//
//  LoginAndRegistManager.h
//  YIChuSeller
//
//  Created by 田小椿 on 2018/12/20.
//  Copyright © 2018年 xiangshengjun. All rights reserved.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@interface LoginAndResetManager : NSObject
/**
 账号密码登录
 phone:手机号码
 password:MD5加密后字符串
 success:成功
 fail:失败
 */
+(void)loginWithPhone:(NSString*)phone
               password:(NSString*)password
                success:(CompleteHandle)success
                 fail:(CompleteHandle)fail;
/**
修改密码
 phone:手机号码
 repassword:MD5加密后字符串
 success:成功
 fail:失败
 */
+(void)changePasswordWithPhone:(NSString *)phone repassword:(NSString *)repassword success:(CompleteHandle)success fail:(CompleteHandle)fail;
/**
 修改手机号码
 phone:手机号码
userId:id号
 success:成功
 fail:失败
 */
+ (void)changePhoneNumberWithPhone:(NSString *)phone UserId:(NSString *)userId success:(CompleteHandle)success fail:(CompleteHandle)fail;


@end

NS_ASSUME_NONNULL_END
